package com.huli.mapper;

import com.huli.pojo.SysOrganization;
import com.huli.vo.OrganizationUserVo;

import java.util.List;

public interface OrganizationUserMapper {
    // 根据组织用户Vo查询组织用户列表
    List<SysOrganization> organizationUserList(OrganizationUserVo organizationUserVo);

    // 根据组织名称查询组织用户列表
    List<SysOrganization> organizationUserListByOrgName(String orgName);

    // 根据id删除组织用户
    void deleteOrganizationUser(Long id);

    // 添加组织
    void addOrganization(SysOrganization sysOrganization);
    void updateOrganization(SysOrganization sysOrganization);
    SysOrganization selectOrganizationById(Long id);

    // 根据id查询组织
    SysOrganization selectOrganization(Integer orgId);

    // 根据id查询组织
    SysOrganization organizationById(Integer orgId);


    SysOrganization getOrganizationById(Long id);
    List<SysOrganization> findAll();
}
